package com.bdqn.service;

import com.bdqn.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bdqn.param.response.Page;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 菜品及套餐分类 服务类
 * </p>
 *
 * @author hunter
 * @since 2022-06-11
 */

public interface CategoryService extends IService<Category> {

    Page<Category> pageInfo(Integer page, Integer pageSize);

    Category checkName(String name);
    List<Category> selectByTypeId(Integer id);
}
